import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'lib-flexible/flexible'
// import Vant  from 'vant'
import 'vant/lib/index.css';
import './icons'
import { prefix } from './common/js/utils'
import { RadioGroup,Radio,Step, Steps,ActionSheet,DropdownMenu,DropdownItem,Lazyload, Search, NavBar, Divider, Popup, Overlay, Loading, Dialog, ContactCard, Form, AddressEdit, AddressList, Field, CellGroup, Cell, SwipeCell, Icon, Stepper, Card, Checkbox, CheckboxGroup, Button, Swipe, SwipeItem, PullRefresh, List, Tab, Tabs, GoodsAction, GoodsActionIcon, GoodsActionButton, SubmitBar, Toast, TreeSelect, Grid, GridItem,Area } from 'vant'
import './permission'
// Vue.use(Vant)
//vue字体自适应插件
import 'lib-flexible'
//日期格式化插件
import Moment from 'moment'
import axios from "axios";
import waterfall from 'vue-waterfall2'
Vue.use(waterfall)

Vue.use(RadioGroup).use(Radio).use(Step).use(Steps).use(ActionSheet).use(DropdownItem).use(DropdownMenu).use(Lazyload).use(Search).use(NavBar).use(Divider).use(Popup).use(Overlay).use(Loading).use(Dialog).use(Toast).use(ContactCard).use(Form).use(AddressEdit).use(AddressList).use(Field).use(CellGroup).use(Cell).use(SwipeCell).use(Icon).use(Stepper).use(Card).use(Button).use(Swipe).use(SwipeItem).use(PullRefresh).use(List).use(Tab).use(Tabs).use(GoodsAction).use(GoodsActionIcon).use(GoodsActionButton).use(SubmitBar).use(Checkbox).use(CheckboxGroup).use(TreeSelect).use(Grid).use(GridItem).use(Area)

Vue.config.productionTip = false
Vue.prototype.prefix = prefix;
Vue.prototype.$http= axios;

// 定义全局时间戳过滤器
Vue.filter('formatDate', function(value) {
  return Moment(value).format('YYYY-MM-DD HH:mm:ss')
})


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

//<div id="J_DivItemDesc" class="content"><p><img align="absmiddle" src="https://img.alicdn.com/imgextra/i1/1094656908/O1CN01oFbRLf20tuibfy5oO_!!1094656908.jpg" style="max-width: 750.0px;"><img align="absmiddle" src="https://img.alicdn.com/imgextra/i4/1094656908/O1CN01C3dkN120tuiZSU1sV_!!1094656908.jpg" style="max-width: 750.0px;"><img align="absmiddle" src="https://img.alicdn.com/imgextra/i4/1094656908/O1CN016CSlK120tuiYU7kgy_!!1094656908.jpg" style="max-width: 750.0px;"><img align="absmiddle" src="https://img.alicdn.com/imgextra/i4/1094656908/O1CN01ded4h320tuiYU64iN_!!1094656908.jpg" style="max-width: 750.0px;"></p></div>
